#include"HuffmanTree.h"
#include<iostream>
using namespace std;
using namespace dzh;
int main()
{
	try
	{
		//test1();
		test2();
		return 0;
	}
	catch(const std::bad_alloc& errid)
	{
		cout << "内存申请失败！" << endl;
	}
	catch(...)
	{
		cout << "出现未知异常！" << endl;
	}
}
